<%--
  Created by IntelliJ IDEA.
  User: 王宝田
  Date: 2022/6/28
  Time: 20:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="java.util.List" %>
<%@ page import="com.wang.entity.User" %>
<html>
<head>
    <title>作业</title>
</head>
<body>
<table BGCOLOR="#f0ffff" frame="void" width="100%">
    <thead>
    <tr align="center" bgcolor="#f0ffff">
        <th colspan="9">我的信息</th>
    </tr>
    </thead>
    <tbody>
    <tr>
        <form name="form" method="post" action="selectteacher">
            输入查询的老师： <input name="teacher" type="text"/>
            <input type="submit" name="submit" value="查询" /><br/><br/><hr/><br/>
        </form>
    </tr>
    <tr align="center" bgcolor="#f0ffff">
        <td>上传老师</td>
        <td>作业类型</td>
        <td>作业链接</td>
        <td>上传时间</td>
    </tr>
    <c:forEach items="${list}" var="aa">
        <tr align="center" bgcolor="#f0ffff">
            <td>${aa.teacher}</td>
            <td>${aa.type}</td>
            <td>${aa.address}</td>
            <td>${aa.time}</td>

        </tr>
    </c:forEach>
    </tbody>

</table>
</body>
</html>
